package com.machine.filling.Test;

import android.util.Log;

import java.util.ArrayList;
import java.util.List;

import static android.content.ContentValues.TAG;

/**
 * Created by Administrator on 2018/7/9 0009.
 */

public class TestJava {

    public void testJava(){
        List<String> a = new ArrayList<>();
        for (int i = 0; i < 10; i++) {
            a.add(i + "");
        }

        List<String > b = new ArrayList<>();
        for (int i = 0; i < 2; i++) {
            b.add(i + "");
        }

        b.removeAll(a);
        Log.d(TAG, "testJava() returned: " + b);
    }
}
